From: Jasper St. Pierre Date: Tue, 4 Sep 2012 20:49:46 +0000 (-0300) Subject: st-bin: Make sure not to allocate hidden children X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~5960 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=7e343f11f28a736d88619b85c9b9c6ea52a7e142;p=gnome-shell.git st-bin: Make sure not to allocate hidden children --- diff --git a/src/st/st-bin.c b/src/st/st-bin.c index b08334639..3bfa93d87 100644 --- a/src/st/st-bin.c +++ b/src/st/st-bin.c @@ -101,7 +101,7 @@ st_bin_allocate (ClutterActor *self, clutter_actor_set_allocation (self, box, flags); - if (priv->child) + if (priv->child && CLUTTER_ACTOR_IS_VISIBLE (priv->child)) { StThemeNode *theme_node = st_widget_get_theme_node (ST_WIDGET (self)); ClutterActorBox childbox;